package com.jt.www.common.service.zqsign.param.agreement;

import com.jt.www.common.service.zqsign.dependency.ZQVO;
import com.jt.www.model.zq.ZqContract;
import io.swagger.annotations.ApiModelProperty;

public class Param {
    private final static String BRANCH_CODE = "JT0114003";
    private final static String BRANCH_NAME = "江泰保险经纪股份有限公司太原小店营业部";

    @ApiModelProperty(value = "客户姓名")
    private String custName;

    @ApiModelProperty(value = "客户编码")
    private String userCode;

    @ApiModelProperty(value = "证件类型")
    private String cardType;

    @ApiModelProperty(value = "证件号")
    private String cardNo;

    @ApiModelProperty(value = "手机号")
    private String phoneNum;

    public static String getIsBranchCode() {
        return BRANCH_CODE;

    }

    public static String getIsBranchName() {
        return BRANCH_NAME;

    }

    public ZQVO getZQVO() {
        ZQVO zQVO = new ZQVO();
        zQVO.setConsignor(custName);
        zQVO.setIdType("身份证");
        zQVO.setIdNo(cardNo);
        zQVO.setConsignorPhone(phoneNum);
        zQVO.setSigner1(cardNo);
        return zQVO;
    }

    public ZqContract getZqContract() {
        ZqContract zqContract = new ZqContract();
        zqContract.setBranchCode(BRANCH_CODE);
        zqContract.setBranchName(BRANCH_NAME);
        zqContract.setSignTime(null);
        zqContract.setCode(null);
        zqContract.setIsEfficacy("1");
        zqContract.setUserCode(userCode);
        zqContract.setUserName(custName);
        zqContract.setIdCardNo(cardNo);
        zqContract.setMobile(phoneNum);
        zqContract.setIsSign("0");
        zqContract.setContractNo(null);
        return zqContract;
    }

    public String getCustName() {
        return this.custName;

    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getUserCode() {
        return this.userCode;

    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getCardType() {
        return this.cardType;

    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardNo() {
        return this.cardNo;

    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getPhoneNum() {
        return this.phoneNum;

    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }
}
